@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fl {
  float: left;
  display: inline;
}
.fr {
  float: right;
  display: inline;
}
.clearfix:after {
  clear: both;
  content: ".";
  display: block;
  font-size: 0;
  height: 0;
  line-height: 0;
  visibility: hidden;
}
.clearfix {
  clear: both;
}
// main-container global css
// .main-container{
//   min-width: 1180px;
// }

.list-container {
  padding: 16px 24px 35px;
  overflow-x: auto;
  .topbar{
    height: 52px;
    padding-bottom: 16px;
    .el-breadcrumb{
      float: left;
      position: relative;
      top: 11px;
      .el-breadcrumb__item .el-breadcrumb__inner{
        font-size: 12px;
        color: #777777;
        position: relative;
        top: 1px;
      }
      .el-breadcrumb__inner a, .el-breadcrumb__inner.is-link{
        font-size: 16px;
        color: #262626;
        position: relative;
        top: 0px;
      }
    }
    
    .topRight{
      display: flex;
      >span{
        font-size: 12px;
        color: #777777;
        margin-right: 8px;
        line-height: 36px;
      }
      .addProject{
        background: #FC612A;
        border-radius: 4px;
        height: 36px;
        width: 96px;
        text-align: center;
        line-height: 36px;
        margin-right: 20px;
        color: #fff;
        cursor: pointer;
      }
      .seach {
        margin-bottom: 10px;
       .el-input{
          width: 223px!important;
          .el-input__inner{
            border-radius: 0;
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
            height: 36px;
            width: 223px;
            border: 1px solid #DDDDDD;
            padding: 10px;
            &:focus{
              border:1px solid #FC612A;
       
            }
          }
        }
      
        .seachBtn {
            float: left;
            width: 64px;
            height: 36px;
            border-radius: 4px;
            color: #fff;
            text-align: center;
            line-height: 40px;
            background: #FC612A;
            cursor: pointer;
            border-radius: 0;
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }
      }
      ::-webkit-input-placeholder {
        font-size: 12px;
        color: #777777;
      }
      ::-moz-input-placeholder {
        font-size: 12px;
        color: #777777;
      }
      :-ms-input-placeholder {
        font-size: 12px;
        color: #777777;
      }
    }
  }
  .header{
    padding: 0;
    background:rgba(229, 231, 235,.4);
    height: 44px;
    padding-left: 10px;
    display: flex;
    align-items: center;
    .list{
      height: 26px;
      >span{
        font-size: 14px;
        color: #262626;
        line-height: 26px;
        margin-right: 6px;
      }
      .el-input{
        width: 84px;
        .el-input__inner{
          height: 26px;
          line-height: 26px;
          padding: 0;
          padding-left: 8px;
          font-size: 14px;
          color: #262626;
        }
         ::-webkit-input-placeholder {
            font-size: 14px;
            color: #777777;
          }
          ::-moz-input-placeholder {
            font-size: 14px;
            color: #777777;
          }
          :-ms-input-placeholder {
            font-size: 14px;
            color: #777777;
          }
        
      }
      .el-select .el-input.is-focus .el-input__inner{
        border: 1px solid #FC612A;
      }
      .el-select .el-input__inner:focus{
        border: 1px solid #FC612A;
      }
      .el-input__suffix{
        right: 2px;
        .el-input__icon{
          line-height: 26px;
          color: #777;
        }
      }
    }
    .navList{
      border-bottom: 1px solid #DDDDDD;
      .input{
        padding-top: 10px;
        width:533px;
          .el-input__inner{
            height: 26px!important;
            line-height: 26px!important;
            font-size: 14px;
            color: #777777;
            padding: 8px 10px;
            border: none;
          }
          .el-input__icon{
            line-height: 26px;
          }
          ::-webkit-input-placeholder {
            font-size: 14px;
            color: #777777;
          }
          ::-moz-input-placeholder {
            font-size: 14px;
            color: #777777;
          }
          :-ms-input-placeholder {
            font-size: 14px;
            color: #777777;
          }
      }
      .el-select .el-input.is-focus .el-input__inner{
        border-color: #FC612A;
      }
      .el-select .el-input__inner:focus{
        border-color: #FC612A;
      }
    
    }
  }
  .nav{
    .navList {
      padding:0;
      margin:0;
       li {
         float: left;
         width:264px;
         margin-right:20px;
         margin-top: 18px;
         background: #fff;
         cursor: pointer;
         .imgTop {
           position:relative;
           .icon{
             width: 84px;
             height: 32px;
             position:absolute;
             top:8px;
             right:8px;
             display:block;
             color: #fff;
             font-style: normal;
              background: rgba(5, 5, 5,.2);
              border-radius: 4px;
              font-size: 14px;
             font-weight: bold;
             padding-right: 10px;
             text-align: right;
             line-height: 32px;
             box-sizing: border-box;
             &::before{
               display: inline-block;
               content:'';
               width:14px;
               height: 14px;
               border-radius: 50% ;
               -webkit-border-radius: 50% ;
               -moz-border-radius: 50% ;
               -ms-border-radius: 50% ;
               -o-border-radius: 50% ;
               background: #53C32B;
               border: 2px solid #FFFFFF;
               position: absolute;
               left: 10px;
               top: 50%;
               transform: translateY(-50%);
               -webkit-transform: translateY(-50%);
               -moz-transform: translateY(-50%);
               -ms-transform: translateY(-50%);
               -o-transform: translateY(-50%);
              }
           }
           .closeStatus{
            &::before{
              background: #484848;
            }
             
           }
           .BeopenedStatus{
            &::before{
              background: #26A9FF;
            }
             
           }
           .stopStatus{
            &::before{
              background: #FF7924;
            }
            
           }
           img {
             display: block;
             width:100%; 
              height: 192px;
              object-fit: fill;
              background: #ccc;
           }
         }
         .nav-content{
          border: 1px solid #DDDDDD;
          .h3 {
            margin: 0;
            padding: 0;
            padding:10px;
            box-sizing: border-box;
            text-overflow:ellipsis;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp:2;
            overflow: hidden;
            height: 48px;
            font-size: 16px;
            color: #262626;
            // overflow:hidden;
            // white-space:nowrap;
            // text-overflow:ellipsis;
          }
          .p {
            margin-top: 10px;
            font-size: 14px;
            padding:0 10px 15px 10px;
            box-sizing: border-box;
            color: #777777;
            overflow:hidden;
            white-space:nowrap;
            text-overflow:ellipsis;
          }
          .btnAll {
            display: flex;
            justify-content: space-between;
            padding:10px 0px;
            box-sizing: border-box;
            border-top: 1px solid #EEEEEE;
            .icon{
              display: inline-block;
              width: 1px;
              height: 20px;
              background:  #EEEEEE;
            }

            .btn{
              // float: left;
              cursor: pointer;
              font-size: 14px;
              color: #4A90E2;
              line-height: 20px;
            }
          }
         }
       }
       li:first-child{
        //  margin-left:0;
       }
      .nodata{
        width: 100%;
        height:200px;
        line-height: 200px;
        text-align:center;
      }
    }
  }

}

.objOperStatus{
    .el-select-dropdown__list{
        padding: 0;
        .el-select-dropdown__item{
          color: #262626;
          padding: 0 15px;
        }
        .el-select-dropdown__item.selected{
            color: #FC612A;
        }
    }
}
.pagination{
  .btn-prev,.btn-next,.number{
    border: 1px solid #DDDDDD;
    border-radius: 4px;
  }
}
.el-pager li.active+li{
  border-left:1px solid #DDDDDD;
}

.el-pagination.is-background .btn-next, .el-pagination.is-background .btn-prev, .el-pagination.is-background .el-pager li{
  color: #777777;
  font-weight: normal;
}
.el-pagination.is-background .el-pager li:not(.disabled):hover{
  color: #FC612A;
}
.el-pagination.is-background .el-pager li:not(.disabled).active{
  border: none;
  background-color: #FC612A;
  &:hover{
    color:#fff;
  }

}
.el-dialog{
  .el-dialog__header{
    .el-dialog__headerbtn .el-dialog__close:hover{
      color: #FC612A;
    }
  }
}
.el-radio{
  .el-radio__input.is-checked .el-radio__inner{
    border-color: #FC612A;
    background: #FC612A;
  }
  .el-radio__input.is-checked+.el-radio__label{
    color: #FC612A;
  }
  .el-radio__inner:hover{
    border-color: #FC612A;
  }
}
.el-message-box__wrapper{
  .el-message-box__header{
    .el-message-box__close:hover{
      color: #FC612A;
    }
  }
}
.el-button:focus, .el-button:hover{
  color: #FC612A;
  border-color:  #DDDDDD;
  background-color: #fff;

}
.el-button:active{
  border-color: #FC612A;
  background-color: #fff;
}
.el-button--primary{
  background-color: #FC612A;
  border-color: #FC612A;
  &:hover{
    background-color: #FC612A;
    border-color: #FC612A;
    color:#fff;
  }
}
//时间选择器
.datePicker{
  .el-input__inner{
    border:none;
    width: 533px;
    height: 26px;
    padding-left: 0;
    padding-left: 10px
  }
  .el-input{
    position: relative;
  }
  .el-input__prefix{
    right: 10px;
    .el-icon-date{
      color: #409EFF;
      line-height: 17px;
      
    }
    
  }
  .el-input__suffix{
    .el-input__suffix-inner{
      .el-input__icon{
        line-height: 26px;
      }
    } 
  }
  
  ::-webkit-input-placeholder {
    font-size: 14px;
    color: #777777;
  }
  ::-moz-input-placeholder {
    font-size: 14px;
    color: #777777;
  }
  :-ms-input-placeholder {
    font-size: 14px;
    color: #777777;
  }
}
.el-select{
  // .el-input{
  //   width: 84px;
  // }
  .el-input__inner{
    height: 26px;
    line-height: 26px;
    padding: 0;
    padding-left: 8px;
    font-size: 14px;
    color: #262626;
  }
  .el-input__icon{
    line-height: 26px;
  }
}